{if $smarty.request.is_ajax neq 1}
<include file="inc:header" />	
<div class="page" id='{$data.act}'>
<?php
	$this->_var['back_url'] = wap_url("index","uc_center#index");
	$this->_var['back_page'] = "#uc_center";
	$this->_var['back_epage'] = $_REQUEST['epage']=="" ? "#uc_center" : "#".$_REQUEST['epage'];
?>
<include file="inc:title" />
<div class="content infinite-scroll pull-to-refresh-content"  data-distance="{$data.rs_count}"  all_page="{$data.page.page_total}" ajaxurl="{wap_url x="index" r="uc_carry_money_log#index"}">
<!-- 这里是页面内容区 -->
<!--提现日志-->
<ul class="log_list invest">
	{/if}
	 <!-- 默认的下拉刷新层 -->
<div class="pull-to-refresh-layer" all_page="{$data.page.page_total}" >
        <div class="preloader"></div>
        <div class="pull-to-refresh-arrow"></div>
    </div>
	{foreach from=$data.item item="item"}
		<li class="w_b">
				<div class="w_b_f_1 left_box">
					<p>
						<span class="name">提现金额</span>
						<span class="con">{$item.amt}</span>
					</p>
					<p>
						<span class="name">手续费</span>
						<span class="con">{$item.fee}</span>
					</p>
					<p style=" margin-bottom:0;">
						<span class="name">处理时间</span>
						<span class="con">{$item.create_time}</span>
					</p>
					<div class="my_bor"></div>
				</div>
				<div class="right_box" style="text-align:center;width:35%">
					<p class="name" style="color:#666;font-size:0.715rem;line-height:0.715rem;padding-top:0.825rem">处理结果</p>
					<p class="con" style="padding-top:0.3rem"><span class="num" style="color:#e9554a;font-size:1.1rem">{$item.carry_rs}</span><i></i></p>
					
				</div>
			</li>
	
	<!-- <li>
		<dl class="clearfix">
			<dd><span class="name">提现金额</span>{function name="format_price" value=$item.money}</dd>
			<dd><span class="name">手续费</span>{function name="format_price" value=$item.fee}</dd>
			<dd><span class="name">提现银行</span>{$item.bank_name}</dd>
			{if $item.msg}
			<dd><span class="name">失败原因</span>{$item.msg}</dd>
			{/if}
			<dd class="y"><span class="name">银行资料</span><span class="c_ff4a4a">网点:{$item.bankzone}&nbsp;卡号:***{function name="msubstr" v=$item.bankcard s="-4" l="4" charset="utf-8" su=false} &nbsp; 账户:{function name="utf_substr" v=$item.real_name}</span></dd>
		</dl>
		<div class="clearfix results_block">
			<p class="f_l"><span class="name">处理结果</span>
			{if $item.status eq 0}
			<span class="c_3b95d3">
			{elseif $item.status eq 1}
			<span class="c_aad421">
			{elseif $item.status eq 4}
			<span class="c_ff8800">
			{elseif $item.status eq 2}
			<span class="c_878787">	
			{/if}	
				{$item.status_format}</span>
			</p>
			<p class="f_r">
				<input id="dltid_{$item.id}" type="hidden" value="{$item.id}" />
				{if $item.status eq 0}
					<span class="Revocation_but c_3b95d3 bor_3b95d3">
						<a href="#" id="submita_{$item.id}" class="c_3b95d3">
						撤销申请
						</a>
					</span>
				{elseif $item.status eq 4}
					<span class="Revocation_but c_ff8800 bor_ff8800">
						<a href="#" id="submitb_{$item.id}" class="c_ff8800">
						申请提现
						</a>
					</span>
				{else}					
				{/if}
				<script type="text/javascript">
				$("#submita_{$item.id}").click(function(){
					var ajaxurl = '{wap_url a="index" r="uc_carry_revoke_apply"}';
					var dltid =  $.trim($("#dltid_{$item.id}").val());
					var query = newObject();
					query.dltid = $.trim($("#dltid_{$item.id}").val());
					query.status = 0;
					query.post_type = "json";
					$.ajax({
						url:ajaxurl,
						data:query,
						type:"Post",
						dataType:"json",
						success:function(data){
							$.alert(data.show_err);
								window.location.href = '{wap_url a="index" r="uc_carry_money_log"}';
						}
					
					});
					  
					$(this).parents(".float_block").hide();
				});
				
				$("#submitb_{$item.id}").click(function(){
					var ajaxurl = '{wap_url a="index" r="uc_carry_revoke_apply"}';
					var dltid =  $.trim($("#dltid_{$item.id}").val());
					var query = newObject();
					query.dltid = $.trim($("#dltid_{$item.id}").val());
					query.status = 4;
					query.post_type = "json";
					$.ajax({
						url:ajaxurl,
						data:query,
						type:"Post",
						dataType:"json",
						success:function(data){
							$.alert(data.show_err);
								window.location.href = '{wap_url a="index" r="uc_carry_money_log"}';
						}
					
					});
					  
					$(this).parents(".float_block").hide();
				});
				</script>
			</p>
		</div>
	</li>
	-->
	{/foreach}
{if $smarty.request.is_ajax neq 1}	
</ul>
<!-- 
   <div class="w_b but_box_parent padding">
		<div class="w_b_f_1 but_box">
			<a class="but_this" href="#" onclick="RouterURL('{wap_url a="index" r="uc_bank"}','#uc_bank',2);">提现</a>
		</div>
	</div>  -->
	<!-- 加载提示符 -->
<div class="infinite-scroll-preloader">
  <div class="preloader">
  </div>
</div>
<include file="inc:footer" />
{/if}
